import 'package:fish_redux/fish_redux.dart';

enum StudentMineAction {
  onAvatar,
  onLogout,
  onClass,
  onProfile,
  onAbout,
  onPay,
  onReport,
  onFeedback,
  onMessage,
  refresh
}

class StudentMineActionCreator {
  static Action onAvatar() {
    return const Action(StudentMineAction.onAvatar);
  }

  static Action onLogout() {
    return const Action(StudentMineAction.onLogout);
  }

  static Action onProfile() {
    return const Action(StudentMineAction.onProfile);
  }

  static Action onAbout() {
    return const Action(StudentMineAction.onAbout);
  }

  static Action onPay() {
    return const Action(StudentMineAction.onPay);
  }

  static Action onReport() {
    return const Action(StudentMineAction.onReport);
  }

  static Action onClass() {
    return const Action(StudentMineAction.onClass);
  }

  static Action onMessage() {
    return const Action(StudentMineAction.onMessage);
  }

  static Action onFeedback() {
    return const Action(StudentMineAction.onFeedback);
  }

  static Action refresh() {
    return Action(StudentMineAction.refresh);
  }
}
